import {View, Text, StyleSheet, Image, ViewProps} from 'react-native'
import React, {Component} from 'react'
import styles from "../../style";

interface EmptyTipProps extends ViewProps {

}

interface EmptyTipState {

}


export default class EmptyTip extends Component<EmptyTipProps, EmptyTipState> {


    constructor(props: EmptyTipProps) {
        super(props);
    }

    render() {

        return (<View style={[EmptyTipStyle.container, this.props.style]}>
            <Image source={require("../../assets/img/logo.png")}
                   resizeMode={"contain"}
                   style={{width: 120, height: 120, marginBottom: 30}}/>
            <Text style={[styles.normalText]}>
                暂时还没找到什么
            </Text>
        </View>)
    }
}

const EmptyTipStyle = StyleSheet.create({
    container: {
        justifyContent: "center",
        alignItems: "center"
    }
});

 